package com.bdqn.zhao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.zhao.pojo.SysDistricts;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 * 地区 服务类
 * </p>
 *
 * @author zhangsan
 * @since 2023-04-24
 */
public interface SysDistrictsService extends IService<SysDistricts> {
    List<SysDistricts> sysDistrictsAll();

    SysDistricts selectByi(int id);

    int del(int id);

    List<SysDistricts> fuzzy(@PathVariable Integer pageNum,
                             @PathVariable Integer pageSize,Integer deep,String name);


    // 园区列表  --查询出下拉列表各个省份地址
    String selectDistricts(HttpSession session);


    // 园区列表 -- 根据id查询出对应子级
    Object address(Integer id);


    // 园区编辑 -- 根据id查询出上一级信息
    String selectOne(Integer id,HttpSession session);


}
